<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>定版管理</title>
    <link rel="shortcut icon" href="favicon.ico">
    <link href="/static/admin/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="/static/admin/css/bootstrap-select.min.css" rel="stylesheet">
    <link href="/static/admin/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
    <link href="/static/admin/css/animate.min.css" rel="stylesheet">
    <link href="/static/admin/css/plugins/iCheck/custom.css" rel="stylesheet">
    <link href="/static/admin/css/style.min.css?v=4.1.0" rel="stylesheet">
    <!-- Sweet Alert -->
    <link href="/static/admin/css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
    <style>
        .thumb_margin {
            margin-bottom: 5px;
        }

        .thumb_padding {
            padding: 1px 4px;
        }
    </style>
</head>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-sm-8">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5></h5>

                    <div class="ibox-tools">
                        <a class="collapse-link">
                            <i class="fa fa-chevron-up"></i>
                        </a>
                        <a class="dropdown-toggle" data-toggle="dropdown" href="form_basic.html#">
                            <i class="fa fa-wrench"></i>
                        </a>
                        <a class="close-link">
                            <i class="fa fa-times"></i>
                        </a>
                    </div>
                </div>
                <div class="ibox-content container-fluid">
                    <nav class="navbar navbar-inverse" role="navigation">
                        <ul class="nav navbar-nav">
                            <li class="active"><a data-toggle="tab" href="#wx">微信</a></li>
                            <li><a data-toggle="tab" href="#weibo">微博</a></li>
                            <li><a data-toggle="tab" href="#app">APP客户端</a></li>
                        </ul>
                    </nav>
                    <div class="tab-content">
                        <div id="wx" class="tab-pane fade in active">
                            <div class="col-xs-12 thumb_padding">
                                {volist name="account" id="vo" empty="没有定版记录"}
                                <div class="col-xs-3 thumb_padding">
                                    <a title="查看定版信息" href="#" class="thumbnail thumb_margin" wid="{$vo.id}"
                                       wname="{$vo.name}">
                                        <img src="http://{$Think.server.http_host}/upload/{$vo.logo}" alt="">
                                    </a>

                                    <div class="text-center">{$vo.name}</div>
                                </div>
                                {/volist}
                            </div>
                        </div>
                        <div id="weibo" class="tab-pane fade"></div>
                        <div id="app" class="tab-pane fade"></div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="/static/admin/js/jquery.min.js?v=2.1.4"></script>
<script src="/static/admin/js/bootstrap-select.min.js"></script>
<script src="/static/admin/js/bootstrap.min.js?v=3.3.6"></script>
<script src="/static/admin/js/content.min.js?v=1.0.0"></script>
<script src="/static/admin/js/plugins/validate/jquery.validate.min.js"></script>
<script src="/static/admin/js/plugins/validate/messages_zh.min.js"></script>
<script src="/static/admin/js/plugins/iCheck/icheck.min.js"></script>
<script src="/static/admin/js/plugins/sweetalert/sweetalert.min.js"></script>
<script src="/static/admin/js/plugins/layer/laydate/laydate.js"></script>
<script src="/static/admin/js/plugins/suggest/bootstrap-suggest.min.js"></script>
<script src="/static/admin/js/plugins/layer/layer.min.js"></script>
<script type="text/javascript">
    $(function () {
        $(".thumbnail").click(function () {
            var url = "{:url('publishDetail')}" + "?wid=" + $(this).attr('wid') + '&wname=' + $(this).attr('wname');
            window.location = url;
        });
    })
</script>
</body>
</html>